5ac5d2229d5669b710791ea3b63414fa2caabc0d,src/main/java/org/sonar/plugins/web/checks/sonar/MetaRefreshCheck.java,MetaRefreshCheck,isMetaRefreshTag,#TagNode#,39
Before Change
private static boolean isMetaRefreshTag(TagNode node) {
String httpEquiv = node.getAttribute("HTTP-EQUIV");
return "META".equals(node.getNodeName().toUpperCase(Locale.ENGLISH)) &&
httpEquiv != null &&
"REFRESH".equals(httpEquiv.toUpperCase(Locale.ENGLISH));
}
}
After Change
}
private static boolean isMetaRefreshTag(TagNode node) {
String httpEquiv = node.getAttribute("HTTP-EQUIV");
return "META".equalsIgnoreCase(node.getNodeName()) &&
httpEquiv != null &&
"REFRESH".equalsIgnoreCase(httpEquiv);
}